/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 现代字体系统 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: #1a202c;
    background: #f8fafc;
    font-size: 16px;
    font-weight: 400;
}

/* 流体容器系统 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 信息展示组件 */
.info-toggle {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.info-toggle .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.info-toggle .info-icon:hover {
    background: #4f46e5;
    transform: scale(1.1);
}

.info-toggle .info-icon:active {
    transform: scale(0.95);
}

.info-content {
    display: none;
    margin-top: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
}

.info-content.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-content h4 {
    margin: 0 0 12px 0;
    color: #374151;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid #6366f1;
    padding-bottom: 4px;
}

.info-item {
    margin: 8px 0;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #6366f1;
}

.info-item strong {
    color: #374151;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.info-item .code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    color: #6366f1;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 3px;
    margin: 2px 0;
    display: inline-block;
}

.info-item .desc {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.info-item.warning {
    background: #fef3cd;
    border-left-color: #f59e0b;
}

.info-item.warning strong {
    color: #92400e;
}

.info-item.warning .desc {
    color: #92400e;
}

/* 现代导航栏 - 简洁设计 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.nav-links a:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

/* Hero区域 - 现代简约风格 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 32px;
    opacity: 0.9;
    font-weight: 400;
}

.hero .description {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
}

/* 现代卡片系统 */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: white;
}

.section-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    margin: 40px 0;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 标题系统 */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 48px;
    font-weight: 400;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin: 48px 0 24px 0;
    position: relative;
    padding-left: 20px;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 网格系统 */
.grid {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* 功能卡片 */
.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.feature-text {
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
}

/* 表格系统 */
.table-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin: 32px 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: #f8fafc;
    color: #374151;
    padding: 20px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover {
    background: #f8fafc;
}

.code-inline {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* 代码块 - 重新设计为更好的UI */
.code-block {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    color: #e2e8f0;
    border-radius: 16px;
    padding: 0;
    margin: 28px 0;
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Monaco', Consolas, monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.code-header {
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5e1;
    font-size: 12px;
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-header::before {
    content: "⚡";
    font-size: 14px;
    opacity: 0.7;
}

.code-block pre {
    margin: 0;
    padding: 24px;
    background: transparent;
    overflow-x: auto;
    text-align: left;
    white-space: pre;
    word-wrap: normal;
    scrollbar-width: thin;
    scrollbar-color: #475569 #1e293b;
}

.code-block pre::-webkit-scrollbar {
    height: 8px;
}

.code-block pre::-webkit-scrollbar-track {
    background: #1e293b;
}

.code-block pre::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

.code-block pre::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* 命令行样式优化 */
.code-block .command-line {
    display: block;
    margin: 8px 0;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.code-block .command-line::before {
    content: "$";
    position: absolute;
    left: 0;
    color: #06d6a0;
    font-weight: bold;
}

.code-block .comment {
    color: #94a3b8;
    font-style: italic;
}

.code-block .comment::before {
    content: "# ";
    color: #06d6a0;
    font-weight: bold;
}

/* 特殊命令块样式 */
.command-showcase {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.command-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #06d6a0 0%, #667eea 50%, #f093fb 100%);
}

.command-showcase .command-group {
    margin: 24px 0;
}

.command-showcase .command-title {
    color: #06d6a0;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.command-showcase .command-title::before {
    content: "▶";
    color: #667eea;
    font-size: 14px;
}

.command-showcase .command-item {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 12px 0;
    border-left: 4px solid #06d6a0;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.command-showcase .command-item:hover {
    background: rgba(15, 23, 42, 0.8);
    transform: translateX(4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.command-showcase .command-text {
    color: #e2e8f0;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.command-showcase .command-description {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 8px;
    font-style: italic;
}

/* JSON配置块特殊样式 */
.json-config-block {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 0;
    margin: 28px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(71, 85, 105, 0.4);
}

.json-config-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 50%, #667eea 100%);
}

.json-config-block .json-header {
    background: rgba(15, 23, 42, 0.9);
    color: #f1f5f9;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.json-config-block .json-header::before {
    content: "{}";
    color: #f093fb;
    font-size: 16px;
    font-weight: bold;
}

.json-config-block pre {
    padding: 24px;
    margin: 0;
    color: #e2e8f0;
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

/* 配置层级可视化 */
.config-hierarchy {
    display: flex;
    justify-content: space-between;
    margin: 32px 0;
    gap: 12px;
    flex-wrap: wrap;
}

.config-level {
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.config-bar {
    color: white;
    padding: 20px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 90px;
}

.config-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.config-bar:hover::before {
    left: 100%;
}

.config-bar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 不同层级的颜色主题 */
.config-bar.level-1 { 
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 2px solid #fca5a5;
}
.config-bar.level-2 { 
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 2px solid #fcd34d;
}
.config-bar.level-3 { 
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 2px solid #93c5fd;
}
.config-bar.level-4 { 
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid #6ee7b7;
}
.config-bar.level-5 { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: 2px solid #c4b5fd;
}

.config-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.priority-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.config-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #94a3b8;
    margin: 0 8px;
    min-width: 30px;
}

/* 信息框系统 */
.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.info-box.warning {
    background: #fefce8;
    border-color: #fde047;
    border-left-color: #eab308;
}

.info-box.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    border-left-color: #22c55e;
}

.info-box-title {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
}

.info-box.warning .info-box-title { color: #a16207; }
.info-box.success .info-box-title { color: #15803d; }

.info-box-content {
    color: #1e3a8a;
    line-height: 1.6;
}

.info-box.warning .info-box-content { color: #92400e; }
.info-box.success .info-box-content { color: #166534; }

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* 现代弹窗系统 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modalBackdropFadeIn 0.3s ease-out;
}

@keyframes modalBackdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    margin: 3% auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes modalSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(-40px) scale(0.96);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 32px 40px 24px;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="modal-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23modal-pattern)"/></svg>');
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin: 0;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.modal-body {
    padding: 40px;
    background: white;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.modal-section {
    margin-bottom: 32px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section h4::before {
    content: '';
    width: 3px;
    height: 18px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-list li:last-child {
    border-bottom: none;
}

.modal-list strong {
    color: #4f46e5;
    font-weight: 600;
    min-width: 200px;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

.modal-list span {
    color: #64748b;
    line-height: 1.6;
}

.modal-code-block {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    position: relative;
}

.modal-code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.modal-code-header {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.modal-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin: 4px 8px 4px 0;
    border: 1px solid #bae6fd;
}

.modal-highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #f59e0b;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.modal-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.modal-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.modal-card h5 {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px 0;
}

.modal-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* 文档链接 */
.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    text-decoration: none;
    color: #4f46e5;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 32px;
}

.doc-link:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 标签页系统 */
.tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 32px;
}

.tab {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.tab:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 120px 0 80px; }
    .section { padding: 60px 0; }
    .section-card { padding: 40px 24px; }
    .config-hierarchy { 
        flex-direction: column; 
        gap: 20px;
    }
    .config-bar { 
        height: auto !important; 
        min-height: 80px; 
    }
    .config-arrow { 
        transform: rotate(90deg); 
        margin: 0;
    }
    .priority-badge {
        margin-bottom: 12px;
    }
    .container { padding: 0 16px; }
    .tabs { overflow-x: auto; }
    
    /* 弹窗响应式 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 24px 20px 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-close {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-list strong {
        min-width: auto;
        display: block;
        margin-bottom: 4px;
    }
    
    .modal-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .section-card { padding: 32px 20px; }
    .modal-content { padding: 24px; margin: 10% auto; }
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 延迟动画 */
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; } 

/* 响应式设计改进 */
@media (max-width: 768px) {
    .code-block {
        border-radius: 12px;
        margin: 20px 0;
    }
    
    .code-block pre {
        padding: 16px;
        font-size: 13px;
    }
    
    .command-showcase {
        padding: 20px;
        border-radius: 16px;
    }
    
    .command-showcase .command-item {
        padding: 12px 16px;
    }
    
    .json-config-block pre {
        padding: 16px;
        font-size: 12px;
    }
} 